Skip to content

selftests/bpf: Copy test_kmods when installing selftest #9457

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: bpf-next_base
Choose a base branch
from

Conversation

ameryhung
Copy link
Contributor

Commit d6212d8 ("selftests/bpf: Consolidate kernel modules into common directory") consolidated the Makefile of test_kmods. However, since it moved test_kmods out of TEST_GEN_PROGS_EXTENDED, the kernel modules required by bpf selftests are now missing from the kselftest_install when "make install". Fix it by adding bpf_testmod to TEST_GEN_FILES.

Fixes: d6212d8 ("selftests/bpf: Consolidate kernel modules into common directory")

Commit d6212d8 ("selftests/bpf: Consolidate kernel modules into
common directory") consolidated the Makefile of test_kmods. However,
since it moved test_kmods out of TEST_GEN_PROGS_EXTENDED, the kernel
modules required by bpf selftests are now missing from the
kselftest_install when "make install". Fix it by adding bpf_testmod
to TEST_GEN_FILES.

Fixes: d6212d8 ("selftests/bpf: Consolidate kernel modules into common directory")
Signed-off-by: Amery Hung <[email protected]>
@kernel-patches-daemon-bpf kernel-patches-daemon-bpf bot force-pushed the bpf-next_base branch 9 times, most recently from 61c9cef to 715d6cb Compare August 15, 2025 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant